package com.wenjie.original.entity.vo.SysMenu;

import com.wenjie.original.entity.SysMenu;
import com.wenjie.original.entity.common.vo.IAddVo;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

public class SysMenuUpVo {


    @Data
    @ApiModel("目录的修改")
    public static class UpdateMVo implements IAddVo<SysMenu> {

        @NotNull
        private Long sysMenuId;

        private Long parentId;

        private String menuTitle;

        private String menuIcon;

    }

    @Data
    @ApiModel("菜单的修改")
    public static class UpdateCVo implements IAddVo<SysMenu> {

        @NotNull
        private Long sysMenuId;

        private Long parentId;

        private String menuTitle;

        private String menuPath;

        private String menuComponent;

    }


}
